home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / browser / places / editBookmarkOverlay.css < prev    next >
Cascading Style Sheet File  |  2009-12-26  |  5KB  |  163 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Firefox.
  15.  *
  16.  * The Initial Developer of the Original Code is Mozilla.
  17.  * Portions created by the Initial Developer are Copyright (C) 2006
  18.  * the Initial Developer. All Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Myk Melez <myk@mozilla.org>
  22.  *   Asaf Romano <mano@mozilla.com>
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the MPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the MPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. /**** folder menulist ****/
  39. .folder-icon > .menulist-label-box > .menulist-icon {
  40.   width: 16px;
  41.   height: 16px;
  42. }
  43.  
  44. .folder-icon > .menu-iconic-left {
  45.   display: -moz-box;
  46. }
  47.  
  48. .folder-icon {
  49.   list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
  50.   -moz-image-region: rect(0px, 32px, 16px, 16px) !important;
  51. }
  52.  
  53.  
  54. /**** expanders ****/
  55.  
  56. .expander-up,
  57. .expander-down {
  58.  
  59. }
  60.  
  61. .expander-up > hbox,
  62. .expander-down > hbox {
  63. /*   padding: 0; */
  64. }
  65.  
  66. .expander-up {
  67.    list-style-image: url("chrome://global/skin/icons/collapse.png"); 
  68. }
  69.  
  70. .expander-down {
  71.    list-style-image: url("chrome://global/skin/icons/expand.png"); 
  72. }
  73.  
  74. #editBookmarkPanelContent {
  75.   min-width: 23em;
  76. }
  77.  
  78. #editBMPanel_folderTree {
  79.   margin-top: 2px;
  80.   margin-bottom: 2px;
  81. }
  82.  
  83. /**** name picker ****/
  84.  
  85. /* Make the microsummary picker look like a regular textbox instead of 
  86.  * an editable menulist when no microsummaries are available.
  87.  */
  88. #editBMPanel_namePicker[droppable="false"] {
  89.   /* These rules come from the textbox element in textbox.css. */
  90.   -moz-appearance: none; /* Normal editable menulists set this to "menulist". */
  91.   cursor: text;
  92. padding:0;
  93. padding-right:5px;
  94. border: 3px solid !important;
  95. -moz-border-radius: 5px;
  96. background-color:#ffffff;
  97. -moz-border-top-colors:#a8a8a8 #dadada #fcfcfc !important;
  98. -moz-border-bottom-colors:#d9d8d8 transparent transparent !important;
  99. -moz-border-left-colors:#d3d3d3 #fafafa transparent !important;
  100. -moz-border-right-colors:#d4d4d4 #fafafa transparent !important;
  101. }
  102.  
  103. #editBMPanel_namePicker[droppable="false"]:hover {
  104. border: 3px solid !important;
  105. -moz-border-radius: 5px;
  106. background-color:#ffffff;
  107. -moz-border-top-colors:#79b7fc #aac9ec #e8f2fd !important;
  108. -moz-border-bottom-colors:#7bb8fd #bddcff #eaf4ff !important;
  109. -moz-border-left-colors:#7bb9fd #bad9fc #eaf4ff !important;
  110. -moz-border-right-colors:#7cb9fe #bad9fc #eaf4ff !important;
  111. }
  112.  
  113. #editBMPanel_namePicker[droppable="false"][focused="true"] {
  114. border: 3px solid !important;
  115. -moz-border-radius: 5px;
  116. background-color:#ffffff;
  117. -moz-border-top-colors:#3076c6 #85a8d1 #dde7f5 !important;
  118. -moz-border-bottom-colors:#3278c7 #98bbe4 #dfe9f7 !important;
  119. -moz-border-left-colors:#3278c7 #95b8e1 #dfe9f7 !important;
  120. -moz-border-right-colors:#3379c8 #95b8e1 #dfe9f7 !important;
  121. }
  122.  
  123.  
  124.  
  125. #editBMPanel_namePicker[droppable="false"] > .menulist-editable-box {
  126.   padding: 0;
  127. }
  128.  
  129. #editBMPanel_namePicker[droppable="false"] > .menulist-dropmarker,
  130. #editBMPanel_namePicker[droppable="false"] > menupopup {
  131.   display: none;
  132. }
  133.  
  134. /* Hide the value column of the tag autocomplete popup
  135.  * leaving only the comment column visible. This is
  136.  * so that only the tag being edited is shown in the
  137.  * popup.
  138.  */
  139. #editBMPanel_tagsField #treecolAutoCompleteValue {
  140.   visibility: collapse;
  141. }
  142.  
  143.  
  144. /* ::::: bookmark panel dropdown icons ::::: */
  145.  
  146. #editBMPanel_folderMenuList[selectedIndex="0"],
  147. #editBMPanel_toolbarFolderItem {
  148.   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
  149.   -moz-image-region: auto !important;
  150. }
  151.  
  152. #editBMPanel_folderMenuList[selectedIndex="1"],
  153. #editBMPanel_bmRootItem {
  154.   list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important;
  155.   -moz-image-region: auto !important;
  156. }
  157.  
  158. #editBMPanel_folderMenuList[selectedIndex="2"],
  159. #editBMPanel_unfiledRootItem {
  160.   list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important;
  161.   -moz-image-region: auto !important;
  162. }
  163.